import service from '@/utils/request'

// @Tags MasterBomSapStepLog
// @Summary 创建masterBom sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomSapStepLog true "创建masterBom sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /masterBomSapStepLog/createMasterBomSapStepLog [post]
export const createMasterBomSapStepLog = (data) => {
  return service({
    url: '/masterBomSapStepLog/createMasterBomSapStepLog',
    method: 'post',
    data
  })
}

// @Tags MasterBomSapStepLog
// @Summary 删除masterBom sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomSapStepLog true "删除masterBom sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /masterBomSapStepLog/deleteMasterBomSapStepLog [delete]
export const deleteMasterBomSapStepLog = (params) => {
  return service({
    url: '/masterBomSapStepLog/deleteMasterBomSapStepLog',
    method: 'delete',
    params
  })
}

// @Tags MasterBomSapStepLog
// @Summary 批量删除masterBom sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除masterBom sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /masterBomSapStepLog/deleteMasterBomSapStepLog [delete]
export const deleteMasterBomSapStepLogByIds = (params) => {
  return service({
    url: '/masterBomSapStepLog/deleteMasterBomSapStepLogByIds',
    method: 'delete',
    params
  })
}

// @Tags MasterBomSapStepLog
// @Summary 更新masterBom sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomSapStepLog true "更新masterBom sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /masterBomSapStepLog/updateMasterBomSapStepLog [put]
export const updateMasterBomSapStepLog = (data) => {
  return service({
    url: '/masterBomSapStepLog/updateMasterBomSapStepLog',
    method: 'put',
    data
  })
}

// @Tags MasterBomSapStepLog
// @Summary 用id查询masterBom sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MasterBomSapStepLog true "用id查询masterBom sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /masterBomSapStepLog/findMasterBomSapStepLog [get]
export const findMasterBomSapStepLog = (params) => {
  return service({
    url: '/masterBomSapStepLog/findMasterBomSapStepLog',
    method: 'get',
    params
  })
}

// @Tags MasterBomSapStepLog
// @Summary 分页获取masterBom sap执行步骤记录列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取masterBom sap执行步骤记录列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /masterBomSapStepLog/getMasterBomSapStepLogList [get]
export const getMasterBomSapStepLogList = (params) => {
  return service({
    url: '/masterBomSapStepLog/getMasterBomSapStepLogList',
    method: 'get',
    params
  })
}
